package com.shopping_back.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
@TableName("combo")
public class Combo {
    private Long id;
    private Long activityId;
    private BigDecimal comboPrice;
    //    private String name;
    @TableField(exist = false)
    private BigDecimal originalPrice;

    @TableField(exist = false)
    private List<ComboItem> items;
}
